import request from "../utils/network"
import http from '@ohos.net.http'

const MEMBER_BASE_URL: string = "/vip"

export function getMemberAll() {
  return request({
    url: MEMBER_BASE_URL + "/all",
    method: http.RequestMethod.GET,
    data: ""
  })
}

export function getMemberHistoryList(vipID: string) {
  return request({
    url: MEMBER_BASE_URL + "/history/" + vipID,
    method: http.RequestMethod.GET,
    data: ""
  })
}